package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_firework_normal_fire", autoSave = true,uploadCk = true,desc = "烟花祈愿-普通放烟花")
public class LogFireWorkNormalFire extends ServerBaseLog{

    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(desc = "单抽1,十连2")
    private int type;
    @FieldTypeAnnotation(desc = "奖励内容")
    private String reward;
    @FieldTypeAnnotation(desc = "当前累计积分(没获得这次奖励前)")
    private long integral;


    public LogFireWorkNormalFire(long userId, int activityId, int type, String reward, long integral) {
        this.userId = userId;
        this.activityId = activityId;
        this.type = type;
        this.reward = reward;
        this.integral = integral;
    }

    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public int getType() {
        return type;
    }

    public String getReward() {
        return reward;
    }

    public long getIntegral() {
        return integral;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public void setIntegral(long integral) {
        this.integral = integral;
    }
}
